package cn.com.xinjinfu.pdoulcProduct.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 活动本金
 * Created by android-adt on 2016/1/18.
 */
public class ActivitMoneyBean implements Serializable {
    private double experNow;
    private double experSum;
    private double userHistoryExperIncome;
    private int code;
    private String msg;
    private ExpGoods expGoods;

    public double getExperNow() {
        return experNow;
    }

    public void setExperNow(double experNow) {
        this.experNow = experNow;
    }

    public double getExperSum() {
        return experSum;
    }

    public void setExperSum(double experSum) {
        this.experSum = experSum;
    }

    public double getUserHistoryExperIncome() {
        return userHistoryExperIncome;
    }

    public void setUserHistoryExperIncome(double userHistoryExperIncome) {
        this.userHistoryExperIncome = userHistoryExperIncome;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ExpGoods getExpGoods() {
        return expGoods;
    }

    public void setExpGoods(ExpGoods expGoods) {
        this.expGoods = expGoods;
    }

    @Override
    public String toString() {
        return "ActivitMoneyBean{" +
                "experNow=" + experNow +
                ", experSum=" + experSum +
                ", userHistoryExperIncome=" + userHistoryExperIncome +
                ", code=" + code +
                ", msg='" + msg + '\'' +
                ", expGoods=" + expGoods +
                '}';
    }

    public static class ExpGoods {
        private int pageSize;
        private int totalPageCount;
        private int currPage;
        private int totalCount;
        private List<Page> page;

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPageCount() {
            return totalPageCount;
        }

        public void setTotalPageCount(int totalPageCount) {
            this.totalPageCount = totalPageCount;
        }

        public int getCurrPage() {
            return currPage;
        }

        public void setCurrPage(int currPage) {
            this.currPage = currPage;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public List<Page> getPage() {
            return page;
        }

        public void setPage(List<Page> page) {
            this.page = page;
        }

        @Override
        public String toString() {
            return "ExpGoods{" +
                    "pageSize=" + pageSize +
                    ", totalPageCount=" + totalPageCount +
                    ", currPage=" + currPage +
                    ", totalCount=" + totalCount +
                    ", page=" + page +
                    '}';
        }

        public static class Page {
            private double total_amount;
            private double amount;
            private Date receice_time;
            private Date use_time;
            private Date expire_time;
            private boolean willBeSaved;
            private boolean persistent;
            private int status;
            private int exper_type;
            private long id;
            private long entityId;
            private long user_id;

            public double getTotal_amount() {
                return total_amount;
            }

            public void setTotal_amount(double total_amount) {
                this.total_amount = total_amount;
            }

            public double getAmount() {
                return amount;
            }

            public void setAmount(double amount) {
                this.amount = amount;
            }

            public Date getReceice_time() {
                return receice_time;
            }

            public void setReceice_time(Date receice_time) {
                this.receice_time = receice_time;
            }

            public Date getUse_time() {
                return use_time;
            }

            public void setUse_time(Date use_time) {
                this.use_time = use_time;
            }

            public Date getExpire_time() {
                return expire_time;
            }

            public void setExpire_time(Date expire_time) {
                this.expire_time = expire_time;
            }

            public boolean isWillBeSaved() {
                return willBeSaved;
            }

            public void setWillBeSaved(boolean willBeSaved) {
                this.willBeSaved = willBeSaved;
            }

            public boolean isPersistent() {
                return persistent;
            }

            public void setPersistent(boolean persistent) {
                this.persistent = persistent;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getExper_type() {
                return exper_type;
            }

            public void setExper_type(int exper_type) {
                this.exper_type = exper_type;
            }

            public long getId() {
                return id;
            }

            public void setId(long id) {
                this.id = id;
            }

            public long getEntityId() {
                return entityId;
            }

            public void setEntityId(long entityId) {
                this.entityId = entityId;
            }

            public long getUser_id() {
                return user_id;
            }

            public void setUser_id(long user_id) {
                this.user_id = user_id;
            }

            @Override
            public String toString() {
                return "Page{" +
                        "total_amount=" + total_amount +
                        ", amount=" + amount +
                        ", receice_time=" + receice_time +
                        ", use_time=" + use_time +
                        ", expire_time=" + expire_time +
                        ", willBeSaved=" + willBeSaved +
                        ", persistent=" + persistent +
                        ", status=" + status +
                        ", exper_type=" + exper_type +
                        ", id=" + id +
                        ", entityId=" + entityId +
                        ", user_id=" + user_id +
                        '}';
            }
        }
    }
}
